package com.fdb.efp.limit.service.facade;

import java.util.List;

import com.fdb.efp.limit.service.vo.LmtUnfreezeAppVO;
import com.fdb.efp.flow.common.service.Approve;

/**
 * <p>Description:额度解冻申请表				<p>
 * @author fuzm
 * @date 2018-06-09
 */
public interface LmtUnfreezeAppService extends Approve {
	
	public List<LmtUnfreezeAppVO> queryAllOwner(LmtUnfreezeAppVO lmtUnfreezeAppVo);
	
	public List<LmtUnfreezeAppVO> queryAllCurrOrg(LmtUnfreezeAppVO lmtUnfreezeAppVo);
	
	public List<LmtUnfreezeAppVO> queryAllCurrDownOrg(LmtUnfreezeAppVO lmtUnfreezeAppVo);
	/**
	 * 查询授信协议编号下的解冻几率
	 * @param lmtUnfreezeAppVo
	 * @return
	 */
	public List<LmtUnfreezeAppVO> queryLmtUnfreByLmtNo(LmtUnfreezeAppVO lmtUnfreezeAppVo);
	/**
	 * @param inLmtUnfreezeAppVo
	 * * @return total: -2: 授信协议编号已经存在额度解冻申请待发起,不允许发起额度解冻申请! 
	 * -3: 授信协议编号已经存在额度解冻申请审批中,不允许发起额度解冻申请! 
	 * -4: 授信协议状态已经是正常,不允许发起额度解冻申请!
	 */
	public LmtUnfreezeAppVO insertLmtUnfreezeApp(LmtUnfreezeAppVO inLmtUnfreezeAppVo);
	
	public int deleteByPk(LmtUnfreezeAppVO lmtUnfreezeAppVo);
	
	public int updateByPk(LmtUnfreezeAppVO lmtUnfreezeAppVo);
	
	public LmtUnfreezeAppVO queryByPk(LmtUnfreezeAppVO lmtUnfreezeAppVo);
	
 

}
